<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/styles/admin-styles.css">
    <link rel="stylesheet" href="/styles/styles-personal-area.css">
    <title>Admin Dashboard</title>
</head>
<body>
<header class="admin-header">
    <h1>Admin Dashboard</h1>
</header>
<a href="/">
    <div class="home"></div>
</a>
<div class="admin-container">
    <form th:action="@{/admin/blocked-user}" method="get">
    <button class="admin-button admin-button-block">Block user</button>
    </form>
    <form th:action="@{/admin/update}" method="get">
    <button class="admin-button admin-button-info">Update car price</button>
    </form>
    <form th:action="@{/admin/user-report}" method="get">
    <button class="admin-button admin-button-complaints">User report</button>
    </form>
    <form th:action="@{/admin/all-car}" method="get">
    <button class="admin-button admin-button-info">Find a car ID</button>
    </form>
    <div id="user-list-container">

        <ul th:each="user : ${userList}">
            <li th:text="${user}"></li>
        </ul>
    </div>
</div>
</body>
</html>